package com.powernode.hystrix;

import com.powernode.clients.CartClient;
import com.powernode.domain.Basket;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class CartClientHystrix implements CartClient {
    @Override
    public List<Basket> getBasketsByIds(List<Long> basketIds) {
        log.error("订单服务调取购物车无法获取购物车列表");
        return null;
    }

    @Override
    public Boolean clearBasketSkuList(List<Long> skuIdList, String userId) {
        log.error("订单服务调取购物车删除购物车中的sku失败");
        return null;
    }
}
